/* app.wxss */

/* 重置所有元素的默认样式 */
view,
text,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

page {
  height: 100%;
}

/* 竖向排列 */
.column {
  display: flex;
  flex-direction: column;
}

/* 容器居中 */
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 容器向左对齐 */
.flex-l {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* 容器向右对齐 */
.flex-r {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*  div 容器中实现水平滚动 */
.scroll-container {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.scroll-content {
  display: inline-block;
}

/* 禁止选中文本 */
.usn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* 浮动 */
.fl {
  float: left;
}

.fr {
  float: right;
}

.cf {
  zoom: 1;
}

.cf:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* 元素类型 */
.db {
  display: block;
}

.dn {
  display: none;
}

.di {
  display: inline;
}

.dib {
  display: inline-block;
}

.transparent {
  opacity: 0;
}

/*文字排版、颜色*/
.f12 {
  font-size: 12px;
}

.f14 {
  font-size: 14px;
}

.f16 {
  font-size: 16px;
}

.f18 {
  font-size: 18px;
}

.f20 {
  font-size: 20px;
}

.f24 {
  font-size: 24px;
}

.f30 {
  font-size: 30px;
}

.fb {
  font-weight: bold;
}

.fb600 {
  font-weight: 600;
}

.fb500 {
  font-weight: 500;
}

.fb400 {
  font-weight: 400;
}

.fn {
  font-weight: normal;
}

.t2 {
  text-indent: 2em;
}

.red,
a.red {
  color: #cc0031;
}

.darkblue,
a.darkblue {
  color: #039;
}

.gray,
a.gray {
  color: #878787;
}

.lh150 {
  line-height: 150%;
}

.lh180 {
  line-height: 180%;
}

.lh200 {
  line-height: 200%;
}

.unl {
  text-decoration: underline;
}

.no_unl {
  text-decoration: none;
}

.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.tj {
  text-align: justify;
  text-justify: inter-ideograph;
}

.wn {
  /* 强制不换行 */
  word-wrap: normal;
  white-space: nowrap;
}

.wb {
  /* 强制换行 */
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
}

.wp {
  /* 保持空白序列*/
  overflow: hidden;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}

.wes {
  /* 多出部分用省略号表示 , 用于一行 */
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wes-2 {
  /* 适用于webkit内核和移动端 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.wes-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.wes-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* 溢出样式 */
.ofh {
  overflow: hidden;
}

.ofs {
  overflow: scroll;
}

.ofa {
  overflow: auto;
}

.ofv {
  overflow: visible;
}

/* 定位方式 */
.ps {
  position: static;
}

.pr {
  position: relative;
  zoom: 1;
}

.pa {
  position: absolute;
}

.pf {
  position: fixed;
}

/* 垂直对齐方式 */
.vt {
  vertical-align: top;
}

.vm {
  vertical-align: middle;
}

.vb {
  vertical-align: bottom;
}

/* 鼠标样式 */
.csd {
  cursor: default;
}

.csp {
  cursor: pointer;
}

.csh {
  cursor: help;
}

.csm {
  cursor: move;
}

uni-toast {
  z-index: 100000;
}
